<% if @paths.length > 0 %>
<h2><%=@user.login%>'s Paths</h2>
<%= render(:partial => "shared/path" , :collection => @paths, :locals => {:include_admin => true, :show_user => false}) %>
<% else %>
  <% if is_authorized(@user, 'none') %>
    <p>You don't currently have any paths.</p>
    <p>Get the <%= link_to 'make a path', :controller => 'default', :action => 'bookmarklet' %> bookmarklet to begin creating paths.</p>
  <% else %>
    <%=@user.login%> doesn't currently have any paths.
  <% end %>
<% end %>
<br />
<% if is_authorized(@user, 'none') %>
  <h3>Add a Make A Path Bookmarklet to your website</h3>
  <a href="/paths/new?u=http://www.makeapath.com&t=Make A Path&i=<%=@user.id%>"><img src="/images/makeapathicon.gif" /></a>
<% end -%>
<br />
<%= render(:partial => "shared/formats") %>
